package com.meichis.yndms.ui.activity;

import androidx.databinding.DataBindingUtil;

import com.meichis.yndms.R;
import com.meichis.yndms.databinding.ActivityYiqiyingBinding;
import com.meichis.yndms.hybrid.CallbackContext;
import com.meichis.yndms.hybrid.HybridInterface;
import com.meichis.yndms.ui.common.BaseActivity;

public class YiQiYingActivity extends BaseActivity implements HybridInterface {

    ActivityYiqiyingBinding binding;

    @Override
    protected void setDataBindingContentView() {
        binding = DataBindingUtil.setContentView(this, R.layout.activity_yiqiying);

    }

    @Override
    protected void init() {
        binding.navigation.txtTitle.setText("伊起赢");
        binding.navigation.navBack.setOnClickListener(v -> onBackPressed());
        String url = getIntent().getStringExtra("url");
        binding.mcWeb.loadUrl(url);

    }

    @Override
    public void execute(int CallType, String ControlID, Object Revalue, String FUNCCallBack) {

    }

    @Override
    public void setActivityResultCallback(CallbackContext callback) {

    }
}
